aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/[username]/request
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-11-11 20:04:48 -0800
committerAdam Soltys <[email protected]>2022-11-11 20:04:48 -0800
commiteeecc98c5b22d75b19e65cd122562e6e69eed14e (patch)
treea11bf42cf72efea7e714195ae04dfd3bfa643f04 /src/routes/(app)/[username]/request
parentc8d57b497b7a91613b315c22947c7a437579050a (diff)
downloadcoinos-ui-eeecc98c5b22d75b19e65cd122562e6e69eed14e.tar.gz
coinos-ui-eeecc98c5b22d75b19e65cd122562e6e69eed14e.zip
style tweaks
Diffstat (limited to 'src/routes/(app)/[username]/request')
-rw-r--r--src/routes/(app)/[username]/request/+page.svelte8
-rw-r--r--src/routes/(app)/[username]/request/sent/+page.svelte10
2 files changed, 8 insertions, 10 deletions
diff --git a/src/routes/(app)/[username]/request/+page.svelte b/src/routes/(app)/[username]/request/+page.svelte
index 6e7eb08a..6422b794 100644
--- a/src/routes/(app)/[username]/request/+page.svelte
+++ b/src/routes/(app)/[username]/request/+page.svelte
@@ -9,11 +9,11 @@
let { subject, user } = data;
</script>
-<button class="ml-5 md:ml-20 mt-5 md:mt-10 hover:opacity-80" on:click={back}>
+<button class="ml-5 md:ml-20 mt-10 hover:opacity-80" on:click={back}>
<Icon icon="arrow-left" style="w-10" />
</button>
-<div class="container max-w-lg px-4 mx-auto">
+<div class="container max-w-lg px-4 mx-auto mt-10 space-y-5">
<h1 class="px-3 md:px-0 text-center text-3xl md:text-4xl font-semibold">Request an invoice</h1>
<form method="POST" use:enhance class="space-y-5">
@@ -22,7 +22,7 @@
<textarea
name="memo"
- placeholder="You can use this field to describe your order"
+ placeholder="Use this field to describe your order"
class="w-full p-4 border rounded-xl h-48"
/>
@@ -31,7 +31,7 @@
type="submit"
class="bg-black text-white border rounded-full px-6 py-2 font-bold mx-auto"
>
- Submit Request
+ Submit
</button>
</div>
</form>
diff --git a/src/routes/(app)/[username]/request/sent/+page.svelte b/src/routes/(app)/[username]/request/sent/+page.svelte
index 1ee2cde1..4995bfb2 100644
--- a/src/routes/(app)/[username]/request/sent/+page.svelte
+++ b/src/routes/(app)/[username]/request/sent/+page.svelte
@@ -11,10 +11,8 @@
<Icon icon="check" style="mx-auto" />
</div>
<h1 class="text-3xl md:text-4xl font-bold mb-6">Request sent</h1>
-
- <a href={`/${subject.username}`}>
- <button class="bg-black text-white rounded-2xl w-20 py-3 font-bold hover:opacity-80">
- Done
- </button>
- </a>
</div>
+
+<a href={`/${subject.username}`}>
+ <div class="opacity-0 w-screen h-screen fixed top-24 left-0 z-50" />
+</a>